<?php
namespace web\model;

class MongoModel extends BaseModel {

    public static function add($paramArr = array()){
        $m = new \MongoClient();
        $db = $m->selectDB("gomtq");
        $collection = $db->selectCollection("wxadmin");

        $rs = $collection->find();
        foreach ($rs as $k=>$v){
            pre($v);
        }
    }
}